package com.lvy.hczn.front.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lvy.hczn.front.system.domain.business.UpOrDownPolicyHistory;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface UpOrDownPolicyHistoryMapper extends BaseMapper<UpOrDownPolicyHistory> {

    /**
     * 物理删除
     *
     * @param id
     * @return
     * @author yw
     * @date 2022-03-20 11:31:12
     */
    int delPhysicalById(@Param(value = "id") int id);

    /**
     * @Description 物理删除，数据清理
     * @Param
     * @Author yw
     * @Date 2024/9/12 10:31
     * @Return
     **/
    int logicDataDelete(@Param(value = "upOrDownPolicyHistory") UpOrDownPolicyHistory upOrDownPolicyHistory);
}
